/**
 * Created by chenyu on 17/10/14.
 */
var mongoose = require('mongoose');

module.exports.init = function () {
    var historySchema = new mongoose.Schema({
        id: String,
        updateDate: Number,
        nodeID: Number,
        beforeUpdateInfo: Object,
        afterUpdateInfo: Object,
        delete: Boolean
    });
    var StationHistory = mongoose.model('StationHistory', historySchema);
};